from selenium.webdriver.chrome import Chrome

driver=Chrome()
driver.get("https://www.baidu.com")
search_box=driver.find_element_by_id("kw")
search_box.send_keys("selenium")
search_button=driver.find_element_by_id("su")
search_button.click()
print(driver.title)
driver.quit()